package com.sz.model;

import org.springframework.data.annotation.Id;
import tk.mybatis.mapper.annotation.KeySql;

public class TDealParticulars {
    public TDealParticulars() {
    }

    public TDealParticulars(Integer pkPId, String payeeName, String payeeAccount, String payerName, String payerAccount, String currency, Long trading, String transaction, Long serviceCharge, String comment, Long tradingAmount, Long payerAmount, Long payeeAmount) {
        this.pkPId = pkPId;
        this.payeeName = payeeName;
        this.payeeAccount = payeeAccount;
        this.payerName = payerName;
        this.payerAccount = payerAccount;
        this.currency = currency;
        this.trading = trading;
        this.transaction = transaction;
        this.serviceCharge = serviceCharge;
        this.comment = comment;
        this.tradingAmount = tradingAmount;
        this.payerAmount = payerAmount;
        this.payeeAmount = payeeAmount;
    }

    @Override
    public String toString() {
        return "TDealParticulars{" +
                "pkPId=" + pkPId +
                ", payeeName='" + payeeName + '\'' +
                ", payeeAccount='" + payeeAccount + '\'' +
                ", payerName='" + payerName + '\'' +
                ", payerAccount='" + payerAccount + '\'' +
                ", currency='" + currency + '\'' +
                ", trading=" + trading +
                ", transaction='" + transaction + '\'' +
                ", serviceCharge=" + serviceCharge +
                ", comment='" + comment + '\'' +
                ", tradingAmount=" + tradingAmount +
                ", payerAmount=" + payerAmount +
                ", payeeAmount=" + payeeAmount +
                '}';
    }

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_deal_particulars.pk_p_id
     *
     * @mbggenerated
     */
    @Id
    @KeySql(useGeneratedKeys = true)
    private Integer pkPId;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_deal_particulars.payee_name
     *
     * @mbggenerated
     */
    private String payeeName;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_deal_particulars.payee_account
     *
     * @mbggenerated
     */
    private String payeeAccount;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_deal_particulars.payer_name
     *
     * @mbggenerated
     */
    private String payerName;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_deal_particulars.payer_account
     *
     * @mbggenerated
     */
    private String payerAccount;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_deal_particulars.currency
     *
     * @mbggenerated
     */
    private String currency;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_deal_particulars.trading
     *
     * @mbggenerated
     */
    private Long trading;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_deal_particulars.transaction
     *
     * @mbggenerated
     */
    private String transaction;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_deal_particulars.service_charge
     *
     * @mbggenerated
     */
    private Long serviceCharge;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_deal_particulars.comment
     *
     * @mbggenerated
     */
    private String comment;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_deal_particulars.trading_amount
     *
     * @mbggenerated
     */
    private Long tradingAmount;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_deal_particulars.payer_amount
     *
     * @mbggenerated
     */
    private Long payerAmount;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_deal_particulars.payee_amount
     *
     * @mbggenerated
     */
    private Long payeeAmount;

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_deal_particulars.pk_p_id
     *
     * @return the value of t_deal_particulars.pk_p_id
     *
     * @mbggenerated
     */
    public Integer getPkPId() {
        return pkPId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_deal_particulars.pk_p_id
     *
     * @param pkPId the value for t_deal_particulars.pk_p_id
     *
     * @mbggenerated
     */
    public void setPkPId(Integer pkPId) {
        this.pkPId = pkPId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_deal_particulars.payee_name
     *
     * @return the value of t_deal_particulars.payee_name
     *
     * @mbggenerated
     */
    public String getPayeeName() {
        return payeeName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_deal_particulars.payee_name
     *
     * @param payeeName the value for t_deal_particulars.payee_name
     *
     * @mbggenerated
     */
    public void setPayeeName(String payeeName) {
        this.payeeName = payeeName == null ? null : payeeName.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_deal_particulars.payee_account
     *
     * @return the value of t_deal_particulars.payee_account
     *
     * @mbggenerated
     */
    public String getPayeeAccount() {
        return payeeAccount;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_deal_particulars.payee_account
     *
     * @param payeeAccount the value for t_deal_particulars.payee_account
     *
     * @mbggenerated
     */
    public void setPayeeAccount(String payeeAccount) {
        this.payeeAccount = payeeAccount == null ? null : payeeAccount.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_deal_particulars.payer_name
     *
     * @return the value of t_deal_particulars.payer_name
     *
     * @mbggenerated
     */
    public String getPayerName() {
        return payerName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_deal_particulars.payer_name
     *
     * @param payerName the value for t_deal_particulars.payer_name
     *
     * @mbggenerated
     */
    public void setPayerName(String payerName) {
        this.payerName = payerName == null ? null : payerName.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_deal_particulars.payer_account
     *
     * @return the value of t_deal_particulars.payer_account
     *
     * @mbggenerated
     */
    public String getPayerAccount() {
        return payerAccount;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_deal_particulars.payer_account
     *
     * @param payerAccount the value for t_deal_particulars.payer_account
     *
     * @mbggenerated
     */
    public void setPayerAccount(String payerAccount) {
        this.payerAccount = payerAccount == null ? null : payerAccount.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_deal_particulars.currency
     *
     * @return the value of t_deal_particulars.currency
     *
     * @mbggenerated
     */
    public String getCurrency() {
        return currency;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_deal_particulars.currency
     *
     * @param currency the value for t_deal_particulars.currency
     *
     * @mbggenerated
     */
    public void setCurrency(String currency) {
        this.currency = currency == null ? null : currency.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_deal_particulars.trading
     *
     * @return the value of t_deal_particulars.trading
     *
     * @mbggenerated
     */
    public Long getTrading() {
        return trading;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_deal_particulars.trading
     *
     * @param trading the value for t_deal_particulars.trading
     *
     * @mbggenerated
     */
    public void setTrading(Long trading) {
        this.trading = trading;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_deal_particulars.transaction
     *
     * @return the value of t_deal_particulars.transaction
     *
     * @mbggenerated
     */
    public String getTransaction() {
        return transaction;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_deal_particulars.transaction
     *
     * @param transaction the value for t_deal_particulars.transaction
     *
     * @mbggenerated
     */
    public void setTransaction(String transaction) {
        this.transaction = transaction == null ? null : transaction.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_deal_particulars.service_charge
     *
     * @return the value of t_deal_particulars.service_charge
     *
     * @mbggenerated
     */
    public Long getServiceCharge() {
        return serviceCharge;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_deal_particulars.service_charge
     *
     * @param serviceCharge the value for t_deal_particulars.service_charge
     *
     * @mbggenerated
     */
    public void setServiceCharge(Long serviceCharge) {
        this.serviceCharge = serviceCharge;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_deal_particulars.comment
     *
     * @return the value of t_deal_particulars.comment
     *
     * @mbggenerated
     */
    public String getComment() {
        return comment;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_deal_particulars.comment
     *
     * @param comment the value for t_deal_particulars.comment
     *
     * @mbggenerated
     */
    public void setComment(String comment) {
        this.comment = comment == null ? null : comment.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_deal_particulars.trading_amount
     *
     * @return the value of t_deal_particulars.trading_amount
     *
     * @mbggenerated
     */
    public Long getTradingAmount() {
        return tradingAmount;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_deal_particulars.trading_amount
     *
     * @param tradingAmount the value for t_deal_particulars.trading_amount
     *
     * @mbggenerated
     */
    public void setTradingAmount(Long tradingAmount) {
        this.tradingAmount = tradingAmount;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_deal_particulars.payer_amount
     *
     * @return the value of t_deal_particulars.payer_amount
     *
     * @mbggenerated
     */
    public Long getPayerAmount() {
        return payerAmount;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_deal_particulars.payer_amount
     *
     * @param payerAmount the value for t_deal_particulars.payer_amount
     *
     * @mbggenerated
     */
    public void setPayerAmount(Long payerAmount) {
        this.payerAmount = payerAmount;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_deal_particulars.payee_amount
     *
     * @return the value of t_deal_particulars.payee_amount
     *
     * @mbggenerated
     */
    public Long getPayeeAmount() {
        return payeeAmount;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_deal_particulars.payee_amount
     *
     * @param payeeAmount the value for t_deal_particulars.payee_amount
     *
     * @mbggenerated
     */
    public void setPayeeAmount(Long payeeAmount) {
        this.payeeAmount = payeeAmount;
    }
}